<?php
/**
 * GioCMS
 * 
 * LICENSE
 *
 * This source file is subject to the GNU GENERAL PUBLIC LICENSE Version 2 
 * that is bundled with this package in the file LICENSE.txt.
 * It is also available through the world-wide-web at this URL:
 * http://www.gnu.org/licenses/gpl-2.0.txt
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to license@ninhgio.com so we can send you a copy immediately.
 * 
 * @copyright	Copyright (c) 2010-2011 GioCMS (http://cms.ninhgio.com)
 * @license		http://www.gnu.org/licenses/gpl-2.0.txt GNU GENERAL PUBLIC LICENSE Version 2
 * @author		NinhGio - ninhgio@gmail.com
 * @since		1.0
 * @version		$Id:$
 */
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<?php echo $this->headKeyword(); ?>
	<?php echo $this->headMeta(); ?>
	<?php echo $this->headTitle(); ?>
		
	<meta http-equiv="content-type" content="text/html; charset=utf-8" />
	<meta name="robots" content="noindex, nofollow" />
	
	<link rel="shortcut icon" type="image/x-icon" href="<?php echo $this->APP_STATIC_SERVER; ?>/templates/<?php echo $this->APP_TEMPLATE; ?>/skins/<?php echo $this->APP_SKIN; ?>/images/favicon.ico" />
	
	<?php 
		$this->headStyle('templates/' . $this->APP_TEMPLATE . '/skins/' . $this->APP_SKIN . '/admin.css');
			 
		$this->headScript('modules/core/js/widget.loader.js')
			 ->headScript('js/gio/message.js')
			 ->headScript('js/gio/namespace.js')
			 ->headScript('templates/' . $this->APP_TEMPLATE . '/skins/' . $this->APP_SKIN . '/js/global.js')
			 ->headScript('templates/' . $this->APP_TEMPLATE . '/skins/' . $this->APP_SKIN . '/js/modal.js')
			 ->headScript('js/jquery.ajaxq/jquery.ajaxq.min.js')
			 ->headScript('js/jquery.json/jquery.json.min.js')
			 ->headScript('js/jquery/jquery-1.3.2.min.js');
		
		echo $this->headStyle();
		echo $this->headScript(); 
	?>
	<script type="text/javascript">
		var TEMPLATE = '<?php echo $this->APP_TEMPLATE; ?>';
		var SKIN = '<?php echo $this->APP_SKIN; ?>'; 
		var WEB_URL = '<?php echo $this->APP_WEB_URL; ?>';
		var menuCurrentAlias = '';
	</script>
</head>
<body>
	<div id="g_a_ajax_loading"></div>
	<div id="messages" class="g_a_messages"></div>
	<div id="header">
		<div class="col w5 bottomlast">
			<p style="font-weight: bold; margin-bottom: 0;" class="g_a_logo_35"><?php echo $this->APP_WEB_NAME; ?></p>
		</div>
		<div class="clear"></div>
	</div>
	<?php echo $this->MAIN_CONTENT; ?>
</body>
</html>
